package com.aj.activity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

import com.aj.utils.Contants;

public class NewGesturePasswordActivity extends BaseActivity {

	private static final String TAG = NewGesturePasswordActivity.class
			.getName();

	private Button surebutton;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_new_guide);
		initView();
	}

	private void initView() {
		setActionBarTitle(R.string.safe_update_gesture_password_text);
		surebutton = (Button) findViewById(R.id.surebutton);
		ButtonEvent buttonEvent = new ButtonEvent();
		surebutton.setOnClickListener(buttonEvent);
	}

	class ButtonEvent implements OnClickListener {
		@Override
		public void onClick(View v) {
			switch (v.getId()) {
			case R.id.surebutton:
				Intent intent = new Intent(Contants.GESTURE_ACTIVITY_ACTION);
				startActivity(intent);
				finish();
				break;
			}
		}
	}
}
